Skip to content

Simplify test database configuration - #679

Merged
kacper-kozera merged 2 commits into
v3from
v3-28
Nov 12, 2026
Merged

kacper-kozera merged 2 commits into
v3from
v3-28

Conversation

@kacper-kozera

Copy link
Copy Markdown

No description provided.

Signed-off-by: Kacper Kozera <kacper.kozera@here.com>
@github-actions

Copy link
Copy Markdown

Code Coverage

Overall Project 60.25% 🍏
Files changed 100% 🍏

File Coverage
PsqlTestStorage.kt 44.89% 🍏

piotrhere
piotrhere previously approved these changes Nov 9, 2026
Comment thread build.gradle.kts Outdated
}
tasks.withType<Test>().configureEach {
val dbUrl = System.getenv("NAKSHA_TEST_PSQL_DB_URL")
if (dbUrl != null) environment("NAKSHA_TEST_PSQL_DB_URL", dbUrl)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it redundant? Same for sharedDbUrl.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, we can remove it

Signed-off-by: Kacper Kozera <kacper.kozera@here.com>
@github-actions

Copy link
Copy Markdown

Code Coverage

Overall Project 61.48% 🍏
Files changed 100% 🍏

File Coverage
PsqlTestStorage.kt 44.89% 🍏

@kacper-kozera
kacper-kozera merged commit ec6fe6a into v3 Nov 12, 2026
3 checks passed
@kacper-kozera
kacper-kozera deleted the v3-28 branch November 12, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants